package com.mall.app.service;

import com.mall.app.bean.TbGoods;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author LeeSin
 * @since 2020-07-10
 */
public interface TbGoodsService extends IService<TbGoods> {
	List<TbGoods> listPage(Map<String, Object> map);

	int getCount(Map<String, Object> map);
	
	boolean insertGoods(TbGoods goods);//再去xml绑定对应的sql语句

	boolean updateGoods(TbGoods goods);

	boolean deleteGoods(String[] gids);

	boolean updateGoodsQuantity(TbGoods goods);
}
